<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>测试</title>
</head>
<body>
<div>
    <h2 th:text="${data}">XXXOOOOOO</h2>

    <h1 th:each="user:${users}">
        <h2 th:text="${user.name}">XXX</h2>
        <h2 th:text="${user.address}">XXX</h2>
    </h1>

</div>
</body>
</html>